package com.isoftstone.project.buttjoint.mapper;


import com.isoftstone.project.buttjoint.domain.MonitorTest;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 井下接口对接Mapper接口
 * 
 * @author guoX
 * @date 2021-02-02
 */
@Repository
public interface MonitorTestMapper {

    List<MonitorTest> selectAll();//查询井下实时数据

    void insert(MonitorTest monitorTest);

    List<MonitorTest> selectsjdata(@Param("stationId") String stationId,@Param("startdate") String startdate,@Param("enddate") String enddate,@Param("type") String type);//查询历史数据

    List<MonitorTest> getweekmonitor(String stationId, String autoId);//最近一周之内的折线图

    List<MonitorTest> selectBtEchars(String stationId);//根据分站查询最新的实时数据
}
